package com.machine.filling.db.modle;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Generated;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Property;

/**
 * Created by Administrator on 2018/4/1 0001.
 */
@Entity(nameInDb = "tempCard")
public class CardTempModle {
    @Id
    private Long autoId;
    //枪号
    @Property
    private String gunNum;

    /**
     * 串口号
     */
    @Property
    private String portNum;
    /**
     * 油卡积分
     */
    @Property
    private String pointAmount;
    /**
     * 油卡等级
     */
    @Property
    private String cardLevel;
    /**
     * 油卡类型   1用户的加油卡 2员工卡
     */
    @Property
    private String type;
    /**
     * 卡号
     */
    @Property
    private String cardNum;
    /**
     * 加密卡号
     */
    @Property
    private String encryCarNum;
    /**
     * 卡内余额
     */
    @Property
    private String balance;
    /**
     * 手机号
     */
    @Property
    private String phone;
    /**
     * 姓名
     */
    @Property
    private String name;
    /**
     * 油卡id
     */
    @Property
    private String cardId;
    /**
     * 油卡状态
     */
    @Property
    private String state;
    /**
     * 卡密码
     */
    @Property
    private String pwd;
    /**
     * 油枪id
     */
    @Property
    private String gunId;

    /**
     * 油卡优惠幅度(折扣)
     */
    @Property
    private String cardDiscount;

    @Generated(hash = 639570823)
    public CardTempModle(Long autoId, String gunNum, String portNum,
            String pointAmount, String cardLevel, String type, String cardNum,
            String encryCarNum, String balance, String phone, String name,
            String cardId, String state, String pwd, String gunId,
            String cardDiscount) {
        this.autoId = autoId;
        this.gunNum = gunNum;
        this.portNum = portNum;
        this.pointAmount = pointAmount;
        this.cardLevel = cardLevel;
        this.type = type;
        this.cardNum = cardNum;
        this.encryCarNum = encryCarNum;
        this.balance = balance;
        this.phone = phone;
        this.name = name;
        this.cardId = cardId;
        this.state = state;
        this.pwd = pwd;
        this.gunId = gunId;
        this.cardDiscount = cardDiscount;
    }

    @Generated(hash = 700163431)
    public CardTempModle() {
    }

    public Long getAutoId() {
        return this.autoId;
    }

    public void setAutoId(Long autoId) {
        this.autoId = autoId;
    }

    public String getGunNum() {
        return this.gunNum;
    }

    public void setGunNum(String gunNum) {
        this.gunNum = gunNum;
    }

    public String getPortNum() {
        return this.portNum;
    }

    public void setPortNum(String portNum) {
        this.portNum = portNum;
    }

    public String getPointAmount() {
        return this.pointAmount;
    }

    public void setPointAmount(String pointAmount) {
        this.pointAmount = pointAmount;
    }

    public String getCardLevel() {
        return this.cardLevel;
    }

    public void setCardLevel(String cardLevel) {
        this.cardLevel = cardLevel;
    }

    public String getType() {
        return this.type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getCardNum() {
        return this.cardNum;
    }

    public void setCardNum(String cardNum) {
        this.cardNum = cardNum;
    }

    public String getEncryCarNum() {
        return this.encryCarNum;
    }

    public void setEncryCarNum(String encryCarNum) {
        this.encryCarNum = encryCarNum;
    }

    public String getBalance() {
        return this.balance;
    }

    public void setBalance(String balance) {
        this.balance = balance;
    }

    public String getPhone() {
        return this.phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getName() {
        return this.name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCardId() {
        return this.cardId;
    }

    public void setCardId(String cardId) {
        this.cardId = cardId;
    }

    public String getState() {
        return this.state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public String getPwd() {
        return this.pwd;
    }

    public void setPwd(String pwd) {
        this.pwd = pwd;
    }

    public String getGunId() {
        return this.gunId;
    }

    public void setGunId(String gunId) {
        this.gunId = gunId;
    }

    public String getCardDiscount() {
        return this.cardDiscount;
    }

    public void setCardDiscount(String cardDiscount) {
        this.cardDiscount = cardDiscount;
    }



}
